@extends('home.personal.userlayout')
@section('title','提现记录')
@section('style')
    <link rel="stylesheet" href="{{ asset('/home/css/tixian_record.css')}}?version=2"/>
@endsection
@section('content')
    <div class="count">
        <p class="total">{{ number_format($data['total']/100,2) }}</p>
        <p class="text">提现总额（元）</p>
    </div>
    <ul>
        @foreach($data['list'] as $k => $v)
        <li>
            <p>
                <span class="left">提现</span>
                <span class="right money">-{{ number_format($v->money/100,2) }}</span>
            </p>
            <p>
                <span class="left">{{date('Y-m-d H:i',strtotime($v->created_at))}}</span>
                <span class="right">
                    @if($v->status == 0)
                        进行中
                    @else
                        交易成功
                    @endif
                </span>
            </p>
        </li>
        @endforeach
    </ul>


@endsection